POV-Ray : Newsgroups : povray.beta-test : [POVWIN RC1] Is file I/O working properly? : [POVWIN RC1] Is file I/O working properly? Server Time
29 Jul 2024 04:26:51 EDT (-0400)
  [POVWIN RC1] Is file I/O working properly?  
From: Mike Andrews
Date: 1 Jun 2004 19:15:01
Message: <web.40bd0c6e4cdb18f3a7ca9fe30@news.povray.org>
#fopen File "skylight.ppm" write
#write (File, concat("P3\r", str(10,0,0), " ", str(10,0,0), "\r255\r"))
#declare Y = 0; #while (Y < 10)
  #declare X = 0; #while (X < 10)
    #write (File, concat(str(X,0,0), " ", str(X,0,0), " ", str(Y,0,0), " "))
  #declare X = X + 1; #end
  #write (File, "\r")
#declare Y = Y + 1; #end
#fclose File

Changing all \r to \n produces a 36 byte-length file; the output from the
first #write and then ten returns.

Can anyone verify this problem?

System details:
AMD Athlon XP 2600+ (1.91GHz)
1GB DDR memory
Windows XP Pro

PoV-Ray version:
3.6.release-candidate.1.icl8.win32

Mike Andrews.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.